﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnitOfWork.Infrastructure.Domain;

namespace UnitOfWork.Model
{
    /// <summary>
    /// 账户类，表示Account是集合根
    /// </summary>
    public class Account : IAggregateRoot
    {
        public Account(decimal balance)
        {
            Balance = balance;
        }
        /// <summary>
        /// 账户余额
        /// </summary>
        public decimal Balance { get; set; }
    }
}
